package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoFrozenReasonListVO;
import com.yunxi.sto.pojo.StoFrozenReasonVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class StoFrozenReasonDubboServiceMock implements  StoFrozenReasonDubboService {
    @Override
    public StoFrozenReasonVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        StoFrozenReasonVO vo   = new StoFrozenReasonVO();
        vo.setFrozenReasonId("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(StoFrozenReasonVO stoFrozenReasonVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public void delAndReset(List<String> list, Integer isDel, String userId) {

    }

    @Override
    public List reasonList() {
        List  list  =  new ArrayList();
        StoFrozenReasonListVO vo =  new StoFrozenReasonListVO();
        vo.setFrozenReason("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public PageInfo<StoFrozenReasonVO> findPageByVO(StoFrozenReasonVO stoFrozenReasonVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<StoFrozenReasonVO> page =  new   PageInfo<StoFrozenReasonVO>();
        List  list  =  new ArrayList();
        StoFrozenReasonVO vo =  new StoFrozenReasonVO();
        vo.setFrozenReason("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }
}
